package com.adcc.ags.gms.gw.entity;

import com.adcc.ags.gms.core.entity.BaseEntity;

/**
 * 用户监控实体
 */
public class UserMonitor extends BaseEntity {

    // 用户监控id
    private long id;

    // 用户监控名字
    private String name;

    // 用户监控IP
    private String ip;

    // 用户监控状态 0:绿 1：红 2：灰 3：黄
    private long state;

    // 提示信息
    private String message;

    // 更新时间
    private String updateTime;

    /**
     * 构造函数
     */
    public UserMonitor() {
    }

    /**
     * 构造函数
     * @param id
     * @param name
     */
    public UserMonitor(long id, String name) {
        this.id = id;
        this.name = name;
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public long getState() {
        return state;
    }

    public void setState(long state) {
        this.state = state;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }

}
